ABC096 C - Grid Repainting 2